from django.contrib import admin
from .models import Comment
from Spark.second_admin import admin_site
# Register your models here.


@admin.register(Comment, site=admin_site)
class CommentAdmin(admin.ModelAdmin):
    fields = ('owner', 'content')
    list_display = ('owner', 'content', 'created_time')
    search_fields = ('content', )